import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import outputErrorLog from '@/utils/errorLog';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import CScrollbar from 'c-scrollbar';

// 导入axios
import axios from 'axios';

axios.defaults.baseURL = 'http://localhost:8083/';

const apps = createApp(App);
apps.config.errorHandler = outputErrorLog;
apps
  .use(router)
  .use(ElementPlus)
  .use(CScrollbar)
  .mount('#app');
